<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>文件上传</title>
</head>
<body>
	<h2>单个文件上传实例</h2>
	<form action="upload.do" method="post" enctype="multipart/form-data">
		选择文件:<input type="file" name="file"> <input type="submit"
			value="提交">
	</form>
	<h2>多个文件上传实例</h2>
	<form action="multiUpload.do" method="post" enctype="multipart/form-data">
		<p>
			选择文件:<input type="file" name="files">
		<p>
			选择文件:<input type="file" name="files">
		<p>
			选择文件:<input type="file" name="files">
		<p>
			<input type="submit" value="提交">
	</form>
	</form>
</body>
</html>